/**
 * Created by lyt on 2020.7.
 * url  xxx/index.html?log=
 */
require(["cat", "vue", "common", "api", "dialog"], function (cat, Vue, app, api, dialog) {

    let that,
        callbackSing = app.getValue('callbackSing')||app.getValue('callbackSing','session')||'';//回去标识  不一定是从那来回哪去;
    const HEIGTH = window.innerHeight > 0 ? window.innerHeight : document.documentElement.clientHeight;
    
    app.storeValue('callbackSing',callbackSing,'session') //去授权前将回去标识存在缓存

    var urls = app.getValue('callBackUrl')||'';
    app.storeValue('url', urls, 'session')
    //判断微信打开
    // cat.isWeChat(() => {
        var vm = new Vue({
            el: "#app",
            data: {
                screenH: HEIGTH,
            },
            created() {
                that = this;
            },
            mounted() {
            },
            methods: {

                btn(){
                    cat.wxWarranty();
                }
            },
        });
    // })
});